package com.wanmait.wisdom.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wanmait.wisdom.entity.House;
import com.wanmait.wisdom.util.AjaxResult;

import java.util.List;

import javax.net.ssl.HostnameVerifier;
import java.util.List;

public interface ManageHouseService extends IService<House> {
    AjaxResult listPage(House house,Integer num, Integer size);


    AjaxResult searchPage(House house, Integer pageNum, Integer pageSize);

    AjaxResult HouseAdd(House house);

    AjaxResult blurNumber(House house);

    List<House> selectByUnitId(House house);

    List<House> selectHouseById(Integer id);

    AjaxResult houseByid(Integer id);

    Integer getUnsoldCount();
    Integer getRentOutCount();
    Integer getSoldOutCount();
}
